package com.wxy.school.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 王祥宇
 * @projectName school
 * @packageName com.wxy.school.entity
 * @data 2023/4/16 15:02
 * @description: TODO
 * @version: 1.0
 */
@Data
public class Rate implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long userId;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime rateTime;

    private BigDecimal rateScore;

    private String rateText;

    private String rateReturn;

    private Long shopId;

    private Integer isGood;

    private Integer isHide;

    private String userName;
}
